package com.lhd.weibo.exception;

import com.lhd.weibo.response.StatusCode;
import lombok.Getter;

/**
 * @author lhd
 * date 2024/5/15
 * @apiNote
 */
public class ServiceException extends RuntimeException{

    @Getter
    private StatusCode statusCode;


    public ServiceException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }
}
